package com.zbkj.crmeb.chant.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
@Accessors(chain = true)
public class OfflineRechargeRequest implements Serializable {

    @ApiModelProperty(value = "商户id")
    @NotNull(message = "商户id不能为空")
    private Integer merId;

    @ApiModelProperty(value = "付款账户")
    @NotBlank(message = "付款账户不能为空")
    private String bankName;

    @ApiModelProperty(value = "付款账号")
    @NotBlank(message = "付款账号不能为空")
    private String bankNo;

    @ApiModelProperty(value = "开户行")
    @NotBlank(message = "开户行不能为空")
    private String createBank;

    @ApiModelProperty(value = "充值金额")
    @NotNull(message = "充值金额不能为空")
    private BigDecimal price;

    @ApiModelProperty(value = "凭证url集合")
    private List<String> urlList;

}